package com.group01.community.entity.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.group01.community.entity.ZyOwner;
import com.group01.community.entity.ZyOwnerRoom;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author xuzw
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ZyOwnerVO extends ZyOwner {

    /**
     * 房屋绑定表对象
     */
    private ZyOwnerRoom ownerRoom;

    /**
     * 房屋绑定表id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long ownerRoomId;

    /**
     * 业主类型
     */
    private String zorOwnerType;
    /**
     * 小区名字
     */
    private String communityName;

    /**
     * 楼栋名字
     */
    private String buildingName;

    /**
     * 单元名字
     */
    private String unitName;

    /**
     * 房间名字
     */
    private String roomName;

}
